package org.jeecg.modules.param.fault.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.jeecg.modules.param.fault.entity.BikeFaultSubmit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.param.fault.vo.FaultRes;
import org.jeecg.modules.param.fault.vo.FaultUserReq;
import org.jeecg.modules.param.fault.vo.SubmitFile;

import java.util.List;

/**
 * @Description: 上报故障记录
 * @Author: 月月鸟
 * @Date:   2021-05-28
 * @Version: V1.0
 */
@Mapper
public interface BikeFaultSubmitMapper extends BaseMapper<BikeFaultSubmit> {

    List<SubmitFile> pageList(SubmitFile bikeFaultSubmit);

    IPage<FaultRes> getBikeFaultList(IPage<FaultRes> page,String phone);

    IPage<FaultRes> getStaffFaultList(IPage<FaultRes> page,String userId);

    SubmitFile pageListById(String id);
}
